import request from '@/utils/modules/https.js'

// 查询个人学期参数
export const getJwglXqParam = (data) => {
	return request({
		url: '/achievement/getJwglXqParam',
		data,
		method: 'get'
	})
}

// 成绩查询
export const getAchievementList = (data) => {
	return request({
		url: '/achievement/getAchievementList',
		data,
		method: 'post',
		header: {
			'content-type': 'application/json'
		}
	})
}

// 成绩同步 单独同步教务系统数据
export const synAchievementData = (data) => {
	return request({
		url: '/achievement/synAchievementData',
		data,
		method: 'post',
		header: {
			'content-type': 'application/json'
		}
	})
}
